var schoolUrl = '/pvm/school/getSchoolList';
var gradeUrl = '/pvm/grade/getGradeList';

export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "column": [
	  {
      "type": "input",
      "label": "班级编号",
      "prop": "id",
      hide: true,
      addDisplay: false,
      editDisabled: true
    },	  {
      "type": "input",
      "label": "班级名称",
      "prop": "className",
    },	  {
      "type": "select",
      "label": "年级编号",
      "prop": "gradeId",
      props: {
        label: 'gradeName',
        value: 'id'
      },
      dicUrl: `${gradeUrl}`,
    },	  {
      "type": "select",
      "label": "学校编号",
      "prop": "schoolId",
      search:true,
      props: {
        label: 'schoolName',
        value: 'id'
      },
      dicUrl: `${schoolUrl}`,
    },	  {
      "type": "input",
      "label": "备注",
      "prop": "memo"
    },	  {
      "type": "input",
      "label": "序号",
      "prop": "sortNum"
    },	  {
      "type": "input",
      "label": "代码",
      "prop": "code"
    },	  {
      "type": "input",
      "label": "删除标记",//,1为未删除,-1为删除,
      "prop": "delFlag",
      hide: true,
      addDisplay: false,
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      hide: true,
      addDisplay: false,
    },	  {
      "type": "input",
      "label": "创建人",
      "prop": "createUser",
      addDisplay: false
    },	  {
      "type": "input",
      "label": "修改时间",
      "prop": "updateTime",
      hide: true,
      addDisplay: false,
    },	  {
      "type": "input",
      "label": "修改人",
      "prop": "updateUser",
      hide: true,
      addDisplay: false,
    }  ]
}
